home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / gcc / geninline_920614.lha / inline-2.0 / graphics.h < prev    next >
C/C++ Source or Header  |  1992-06-14  |  61KB  |  1,844 lines

  1. #ifndef _INLINE_GRAPHICS_H
  2. #define _INLINE_GRAPHICS_H
  3.  
  4. #include <sys/cdefs.h>
  5. #include <inline/stubs.h>
  6.  
  7. __BEGIN_DECLS
  8.  
  9. #ifndef BASE_EXT_DECL
  10. #define BASE_EXT_DECL extern struct GfxBase*  GfxBase;
  11. #endif
  12. #ifndef BASE_PAR_DECL
  13. #define BASE_PAR_DECL
  14. #define BASE_PAR_DECL0 void
  15. #endif
  16. #ifndef BASE_NAME
  17. #define BASE_NAME GfxBase
  18. #endif
  19.  
  20. static __inline void 
  21. AddAnimOb (BASE_PAR_DECL struct AnimOb *anOb,struct AnimOb **anKey,struct RastPort *rp)
  22. {
  23.   BASE_EXT_DECL
  24.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  25.   register struct AnimOb *a0 __asm("a0") = anOb;
  26.   register struct AnimOb **a1 __asm("a1") = anKey;
  27.   register struct RastPort *a2 __asm("a2") = rp;
  28.   __asm __volatile ("jsr a6@(-0x9c)"
  29.   : /* no output */
  30.   : "r" (a6), "r" (a0), "r" (a1), "r" (a2)
  31.   : "a0","a1","a2","d0","d1");
  32.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  33. }
  34. static __inline void 
  35. AddBob (BASE_PAR_DECL struct Bob *bob,struct RastPort *rp)
  36. {
  37.   BASE_EXT_DECL
  38.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  39.   register struct Bob *a0 __asm("a0") = bob;
  40.   register struct RastPort *a1 __asm("a1") = rp;
  41.   __asm __volatile ("jsr a6@(-0x60)"
  42.   : /* no output */
  43.   : "r" (a6), "r" (a0), "r" (a1)
  44.   : "a0","a1","d0","d1");
  45.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  46. }
  47. static __inline void 
  48. AddFont (BASE_PAR_DECL struct TextFont *textFont)
  49. {
  50.   BASE_EXT_DECL
  51.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  52.   register struct TextFont *a1 __asm("a1") = textFont;
  53.   __asm __volatile ("jsr a6@(-0x1e0)"
  54.   : /* no output */
  55.   : "r" (a6), "r" (a1)
  56.   : "a0","a1","d0","d1");
  57.   *(char *)a1 = *(char *)a1;
  58. }
  59. static __inline void 
  60. AddVSprite (BASE_PAR_DECL struct VSprite *vSprite,struct RastPort *rp)
  61. {
  62.   BASE_EXT_DECL
  63.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  64.   register struct VSprite *a0 __asm("a0") = vSprite;
  65.   register struct RastPort *a1 __asm("a1") = rp;
  66.   __asm __volatile ("jsr a6@(-0x66)"
  67.   : /* no output */
  68.   : "r" (a6), "r" (a0), "r" (a1)
  69.   : "a0","a1","d0","d1");
  70.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  71. }
  72. static __inline PLANEPTR 
  73. AllocRaster (BASE_PAR_DECL unsigned long width,unsigned long height)
  74. {
  75.   BASE_EXT_DECL
  76.   register PLANEPTR  _res  __asm("d0");
  77.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  78.   register unsigned long d0 __asm("d0") = width;
  79.   register unsigned long d1 __asm("d1") = height;
  80.   __asm __volatile ("jsr a6@(-0x1ec)"
  81.   : "=r" (_res)
  82.   : "r" (a6), "r" (d0), "r" (d1)
  83.   : "a0","a1","d0","d1");
  84.   return _res;
  85. }
  86. static __inline void 
  87. AndRectRegion (BASE_PAR_DECL struct Region *region,struct Rectangle *rectangle)
  88. {
  89.   BASE_EXT_DECL
  90.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  91.   register struct Region *a0 __asm("a0") = region;
  92.   register struct Rectangle *a1 __asm("a1") = rectangle;
  93.   __asm __volatile ("jsr a6@(-0x1f8)"
  94.   : /* no output */
  95.   : "r" (a6), "r" (a0), "r" (a1)
  96.   : "a0","a1","d0","d1");
  97.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  98. }
  99. static __inline BOOL 
  100. AndRegionRegion (BASE_PAR_DECL struct Region *srcRegion,struct Region *destRegion)
  101. {
  102.   BASE_EXT_DECL
  103.   register BOOL  _res  __asm("d0");
  104.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  105.   register struct Region *a0 __asm("a0") = srcRegion;
  106.   register struct Region *a1 __asm("a1") = destRegion;
  107.   __asm __volatile ("jsr a6@(-0x270)"
  108.   : "=r" (_res)
  109.   : "r" (a6), "r" (a0), "r" (a1)
  110.   : "a0","a1","d0","d1");
  111.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  112.   return _res;
  113. }
  114. static __inline void 
  115. Animate (BASE_PAR_DECL struct AnimOb **anKey,struct RastPort *rp)
  116. {
  117.   BASE_EXT_DECL
  118.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  119.   register struct AnimOb **a0 __asm("a0") = anKey;
  120.   register struct RastPort *a1 __asm("a1") = rp;
  121.   __asm __volatile ("jsr a6@(-0xa2)"
  122.   : /* no output */
  123.   : "r" (a6), "r" (a0), "r" (a1)
  124.   : "a0","a1","d0","d1");
  125.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  126. }
  127. static __inline LONG 
  128. AreaDraw (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  129. {
  130.   BASE_EXT_DECL
  131.   register LONG  _res  __asm("d0");
  132.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  133.   register struct RastPort *a1 __asm("a1") = rp;
  134.   register long d0 __asm("d0") = x;
  135.   register long d1 __asm("d1") = y;
  136.   __asm __volatile ("jsr a6@(-0x102)"
  137.   : "=r" (_res)
  138.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  139.   : "a0","a1","d0","d1");
  140.   *(char *)a1 = *(char *)a1;
  141.   return _res;
  142. }
  143. static __inline LONG 
  144. AreaEllipse (BASE_PAR_DECL struct RastPort *rp,long xCenter,long yCenter,long a,long b)
  145. {
  146.   BASE_EXT_DECL
  147.   register LONG  _res  __asm("d0");
  148.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  149.   register struct RastPort *a1 __asm("a1") = rp;
  150.   register long d0 __asm("d0") = xCenter;
  151.   register long d1 __asm("d1") = yCenter;
  152.   register long d2 __asm("d2") = a;
  153.   register long d3 __asm("d3") = b;
  154.   __asm __volatile ("jsr a6@(-0xba)"
  155.   : "=r" (_res)
  156.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  157.   : "a0","a1","d0","d1","d2","d3");
  158.   *(char *)a1 = *(char *)a1;
  159.   return _res;
  160. }
  161. static __inline LONG 
  162. AreaEnd (BASE_PAR_DECL struct RastPort *rp)
  163. {
  164.   BASE_EXT_DECL
  165.   register LONG  _res  __asm("d0");
  166.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  167.   register struct RastPort *a1 __asm("a1") = rp;
  168.   __asm __volatile ("jsr a6@(-0x108)"
  169.   : "=r" (_res)
  170.   : "r" (a6), "r" (a1)
  171.   : "a0","a1","d0","d1");
  172.   *(char *)a1 = *(char *)a1;
  173.   return _res;
  174. }
  175. static __inline LONG 
  176. AreaMove (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  177. {
  178.   BASE_EXT_DECL
  179.   register LONG  _res  __asm("d0");
  180.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  181.   register struct RastPort *a1 __asm("a1") = rp;
  182.   register long d0 __asm("d0") = x;
  183.   register long d1 __asm("d1") = y;
  184.   __asm __volatile ("jsr a6@(-0xfc)"
  185.   : "=r" (_res)
  186.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  187.   : "a0","a1","d0","d1");
  188.   *(char *)a1 = *(char *)a1;
  189.   return _res;
  190. }
  191. static __inline void 
  192. AskFont (BASE_PAR_DECL struct RastPort *rp,struct TextAttr *textAttr)
  193. {
  194.   BASE_EXT_DECL
  195.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  196.   register struct RastPort *a1 __asm("a1") = rp;
  197.   register struct TextAttr *a0 __asm("a0") = textAttr;
  198.   __asm __volatile ("jsr a6@(-0x1da)"
  199.   : /* no output */
  200.   : "r" (a6), "r" (a1), "r" (a0)
  201.   : "a0","a1","d0","d1");
  202.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  203. }
  204. static __inline ULONG 
  205. AskSoftStyle (BASE_PAR_DECL struct RastPort *rp)
  206. {
  207.   BASE_EXT_DECL
  208.   register ULONG  _res  __asm("d0");
  209.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  210.   register struct RastPort *a1 __asm("a1") = rp;
  211.   __asm __volatile ("jsr a6@(-0x54)"
  212.   : "=r" (_res)
  213.   : "r" (a6), "r" (a1)
  214.   : "a0","a1","d0","d1");
  215.   *(char *)a1 = *(char *)a1;
  216.   return _res;
  217. }
  218. static __inline BOOL 
  219. AttemptLockLayerRom (BASE_PAR_DECL struct Layer *layer)
  220. {
  221.   BASE_EXT_DECL
  222.   register BOOL  _res  __asm("d0");
  223.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  224.   register struct Layer *a5 __asm("a3") = layer;
  225.   __asm __volatile ("movel a5,sp@-; movel a3,a5; jsr a6@(-0x28e); movel sp@+,a5"
  226.   : "=r" (_res)
  227.   : "r" (a6), "r" (a5)
  228.   : "a0","a1","a3","d0","d1");
  229.   *(char *)a5 = *(char *)a5;
  230.   return _res;
  231. }
  232. static __inline void 
  233. BitMapScale (BASE_PAR_DECL struct BitScaleArgs *bitScaleArgs)
  234. {
  235.   BASE_EXT_DECL
  236.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  237.   register struct BitScaleArgs *a0 __asm("a0") = bitScaleArgs;
  238.   __asm __volatile ("jsr a6@(-0x2a6)"
  239.   : /* no output */
  240.   : "r" (a6), "r" (a0)
  241.   : "a0","a1","d0","d1");
  242.   *(char *)a0 = *(char *)a0;
  243. }
  244. static __inline LONG 
  245. BltBitMap (BASE_PAR_DECL struct BitMap *srcBitMap,long xSrc,long ySrc,struct BitMap *destBitMap,long xDest,long yDest,long xSize,long ySize,unsigned long minterm,unsigned long mask,PLANEPTR tempA)
  246. {
  247.   BASE_EXT_DECL
  248.   register LONG  _res  __asm("d0");
  249.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  250.   register struct BitMap *a0 __asm("a0") = srcBitMap;
  251.   register long d0 __asm("d0") = xSrc;
  252.   register long d1 __asm("d1") = ySrc;
  253.   register struct BitMap *a1 __asm("a1") = destBitMap;
  254.   register long d2 __asm("d2") = xDest;
  255.   register long d3 __asm("d3") = yDest;
  256.   register long d4 __asm("d4") = xSize;
  257.   register long d5 __asm("d5") = ySize;
  258.   register unsigned long d6 __asm("d6") = minterm;
  259.   register unsigned long d7 __asm("d7") = mask;
  260.   register PLANEPTR a2 __asm("a2") = tempA;
  261.   __asm __volatile ("jsr a6@(-0x1e)"
  262.   : "=r" (_res)
  263.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (a1), "r" (d2), "r" (d3), "r" (d4), "r" (d5), "r" (d6), "r" (d7), "r" (a2)
  264.   : "a0","a1","a2","d0","d1","d2","d3","d4","d5","d6","d7");
  265.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  266.   return _res;
  267. }
  268. static __inline void 
  269. BltBitMapRastPort (BASE_PAR_DECL struct BitMap *srcBitMap,long xSrc,long ySrc,struct RastPort *destRP,long xDest,long yDest,long xSize,long ySize,unsigned long minterm)
  270. {
  271.   BASE_EXT_DECL
  272.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  273.   register struct BitMap *a0 __asm("a0") = srcBitMap;
  274.   register long d0 __asm("d0") = xSrc;
  275.   register long d1 __asm("d1") = ySrc;
  276.   register struct RastPort *a1 __asm("a1") = destRP;
  277.   register long d2 __asm("d2") = xDest;
  278.   register long d3 __asm("d3") = yDest;
  279.   register long d4 __asm("d4") = xSize;
  280.   register long d5 __asm("d5") = ySize;
  281.   register unsigned long d6 __asm("d6") = minterm;
  282.   __asm __volatile ("jsr a6@(-0x25e)"
  283.   : /* no output */
  284.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (a1), "r" (d2), "r" (d3), "r" (d4), "r" (d5), "r" (d6)
  285.   : "a0","a1","d0","d1","d2","d3","d4","d5","d6");
  286.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  287. }
  288. static __inline void 
  289. BltClear (BASE_PAR_DECL PLANEPTR memBlock,unsigned long byteCount,unsigned long flags)
  290. {
  291.   BASE_EXT_DECL
  292.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  293.   register PLANEPTR a1 __asm("a1") = memBlock;
  294.   register unsigned long d0 __asm("d0") = byteCount;
  295.   register unsigned long d1 __asm("d1") = flags;
  296.   __asm __volatile ("jsr a6@(-0x12c)"
  297.   : /* no output */
  298.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  299.   : "a0","a1","d0","d1");
  300.   *(char *)a1 = *(char *)a1;
  301. }
  302. static __inline void 
  303. BltMaskBitMapRastPort (BASE_PAR_DECL struct BitMap *srcBitMap,long xSrc,long ySrc,struct RastPort *destRP,long xDest,long yDest,long xSize,long ySize,unsigned long minterm,PLANEPTR bltMask)
  304. {
  305.   BASE_EXT_DECL
  306.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  307.   register struct BitMap *a0 __asm("a0") = srcBitMap;
  308.   register long d0 __asm("d0") = xSrc;
  309.   register long d1 __asm("d1") = ySrc;
  310.   register struct RastPort *a1 __asm("a1") = destRP;
  311.   register long d2 __asm("d2") = xDest;
  312.   register long d3 __asm("d3") = yDest;
  313.   register long d4 __asm("d4") = xSize;
  314.   register long d5 __asm("d5") = ySize;
  315.   register unsigned long d6 __asm("d6") = minterm;
  316.   register PLANEPTR a2 __asm("a2") = bltMask;
  317.   __asm __volatile ("jsr a6@(-0x27c)"
  318.   : /* no output */
  319.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (a1), "r" (d2), "r" (d3), "r" (d4), "r" (d5), "r" (d6), "r" (a2)
  320.   : "a0","a1","a2","d0","d1","d2","d3","d4","d5","d6");
  321.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  322. }
  323. static __inline void 
  324. BltPattern (BASE_PAR_DECL struct RastPort *rp,PLANEPTR mask,long xMin,long yMin,long xMax,long yMax,unsigned long maskBPR)
  325. {
  326.   BASE_EXT_DECL
  327.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  328.   register struct RastPort *a1 __asm("a1") = rp;
  329.   register PLANEPTR a0 __asm("a0") = mask;
  330.   register long d0 __asm("d0") = xMin;
  331.   register long d1 __asm("d1") = yMin;
  332.   register long d2 __asm("d2") = xMax;
  333.   register long d3 __asm("d3") = yMax;
  334.   register unsigned long d4 __asm("d4") = maskBPR;
  335.   __asm __volatile ("jsr a6@(-0x138)"
  336.   : /* no output */
  337.   : "r" (a6), "r" (a1), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4)
  338.   : "a0","a1","d0","d1","d2","d3","d4");
  339.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  340. }
  341. static __inline void 
  342. BltTemplate (BASE_PAR_DECL PLANEPTR source,long xSrc,long srcMod,struct RastPort *destRP,long xDest,long yDest,long xSize,long ySize)
  343. {
  344.   BASE_EXT_DECL
  345.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  346.   register PLANEPTR a0 __asm("a0") = source;
  347.   register long d0 __asm("d0") = xSrc;
  348.   register long d1 __asm("d1") = srcMod;
  349.   register struct RastPort *a1 __asm("a1") = destRP;
  350.   register long d2 __asm("d2") = xDest;
  351.   register long d3 __asm("d3") = yDest;
  352.   register long d4 __asm("d4") = xSize;
  353.   register long d5 __asm("d5") = ySize;
  354.   __asm __volatile ("jsr a6@(-0x24)"
  355.   : /* no output */
  356.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (a1), "r" (d2), "r" (d3), "r" (d4), "r" (d5)
  357.   : "a0","a1","d0","d1","d2","d3","d4","d5");
  358.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  359. }
  360. static __inline void 
  361. CBump (BASE_PAR_DECL struct UCopList *copList)
  362. {
  363.   BASE_EXT_DECL
  364.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  365.   register struct UCopList *a1 __asm("a1") = copList;
  366.   __asm __volatile ("jsr a6@(-0x16e)"
  367.   : /* no output */
  368.   : "r" (a6), "r" (a1)
  369.   : "a0","a1","d0","d1");
  370.   *(char *)a1 = *(char *)a1;
  371. }
  372. static __inline void 
  373. CMove (BASE_PAR_DECL struct UCopList *copList,APTR destination,long data)
  374. {
  375.   BASE_EXT_DECL
  376.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  377.   register struct UCopList *a1 __asm("a1") = copList;
  378.   register APTR d0 __asm("d0") = destination;
  379.   register long d1 __asm("d1") = data;
  380.   __asm __volatile ("jsr a6@(-0x174)"
  381.   : /* no output */
  382.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  383.   : "a0","a1","d0","d1");
  384.   *(char *)a1 = *(char *)a1;
  385. }
  386. static __inline void 
  387. CWait (BASE_PAR_DECL struct UCopList *copList,long v,long h)
  388. {
  389.   BASE_EXT_DECL
  390.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  391.   register struct UCopList *a1 __asm("a1") = copList;
  392.   register long d0 __asm("d0") = v;
  393.   register long d1 __asm("d1") = h;
  394.   __asm __volatile ("jsr a6@(-0x17a)"
  395.   : /* no output */
  396.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  397.   : "a0","a1","d0","d1");
  398.   *(char *)a1 = *(char *)a1;
  399. }
  400. static __inline void 
  401. ChangeSprite (BASE_PAR_DECL struct ViewPort *vp,struct SimpleSprite *sprite,PLANEPTR newData)
  402. {
  403.   BASE_EXT_DECL
  404.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  405.   register struct ViewPort *a0 __asm("a0") = vp;
  406.   register struct SimpleSprite *a1 __asm("a1") = sprite;
  407.   register PLANEPTR a2 __asm("a2") = newData;
  408.   __asm __volatile ("jsr a6@(-0x1a4)"
  409.   : /* no output */
  410.   : "r" (a6), "r" (a0), "r" (a1), "r" (a2)
  411.   : "a0","a1","a2","d0","d1");
  412.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  413. }
  414. static __inline void 
  415. ClearEOL (BASE_PAR_DECL struct RastPort *rp)
  416. {
  417.   BASE_EXT_DECL
  418.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  419.   register struct RastPort *a1 __asm("a1") = rp;
  420.   __asm __volatile ("jsr a6@(-0x2a)"
  421.   : /* no output */
  422.   : "r" (a6), "r" (a1)
  423.   : "a0","a1","d0","d1");
  424.   *(char *)a1 = *(char *)a1;
  425. }
  426. static __inline BOOL 
  427. ClearRectRegion (BASE_PAR_DECL struct Region *region,struct Rectangle *rectangle)
  428. {
  429.   BASE_EXT_DECL
  430.   register BOOL  _res  __asm("d0");
  431.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  432.   register struct Region *a0 __asm("a0") = region;
  433.   register struct Rectangle *a1 __asm("a1") = rectangle;
  434.   __asm __volatile ("jsr a6@(-0x20a)"
  435.   : "=r" (_res)
  436.   : "r" (a6), "r" (a0), "r" (a1)
  437.   : "a0","a1","d0","d1");
  438.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  439.   return _res;
  440. }
  441. static __inline void 
  442. ClearRegion (BASE_PAR_DECL struct Region *region)
  443. {
  444.   BASE_EXT_DECL
  445.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  446.   register struct Region *a0 __asm("a0") = region;
  447.   __asm __volatile ("jsr a6@(-0x210)"
  448.   : /* no output */
  449.   : "r" (a6), "r" (a0)
  450.   : "a0","a1","d0","d1");
  451.   *(char *)a0 = *(char *)a0;
  452. }
  453. static __inline void 
  454. ClearScreen (BASE_PAR_DECL struct RastPort *rp)
  455. {
  456.   BASE_EXT_DECL
  457.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  458.   register struct RastPort *a1 __asm("a1") = rp;
  459.   __asm __volatile ("jsr a6@(-0x30)"
  460.   : /* no output */
  461.   : "r" (a6), "r" (a1)
  462.   : "a0","a1","d0","d1");
  463.   *(char *)a1 = *(char *)a1;
  464. }
  465. static __inline void 
  466. ClipBlit (BASE_PAR_DECL struct RastPort *srcRP,long xSrc,long ySrc,struct RastPort *destRP,long xDest,long yDest,long xSize,long ySize,unsigned long minterm)
  467. {
  468.   BASE_EXT_DECL
  469.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  470.   register struct RastPort *a0 __asm("a0") = srcRP;
  471.   register long d0 __asm("d0") = xSrc;
  472.   register long d1 __asm("d1") = ySrc;
  473.   register struct RastPort *a1 __asm("a1") = destRP;
  474.   register long d2 __asm("d2") = xDest;
  475.   register long d3 __asm("d3") = yDest;
  476.   register long d4 __asm("d4") = xSize;
  477.   register long d5 __asm("d5") = ySize;
  478.   register unsigned long d6 __asm("d6") = minterm;
  479.   __asm __volatile ("jsr a6@(-0x228)"
  480.   : /* no output */
  481.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (a1), "r" (d2), "r" (d3), "r" (d4), "r" (d5), "r" (d6)
  482.   : "a0","a1","d0","d1","d2","d3","d4","d5","d6");
  483.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  484. }
  485. static __inline void 
  486. CloseFont (BASE_PAR_DECL struct TextFont *textFont)
  487. {
  488.   BASE_EXT_DECL
  489.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  490.   register struct TextFont *a1 __asm("a1") = textFont;
  491.   __asm __volatile ("jsr a6@(-0x4e)"
  492.   : /* no output */
  493.   : "r" (a6), "r" (a1)
  494.   : "a0","a1","d0","d1");
  495.   *(char *)a1 = *(char *)a1;
  496. }
  497. static __inline BOOL 
  498. CloseMonitor (BASE_PAR_DECL struct MonitorSpec *monitorSpec)
  499. {
  500.   BASE_EXT_DECL
  501.   register BOOL  _res  __asm("d0");
  502.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  503.   register struct MonitorSpec *a0 __asm("a0") = monitorSpec;
  504.   __asm __volatile ("jsr a6@(-0x2d0)"
  505.   : "=r" (_res)
  506.   : "r" (a6), "r" (a0)
  507.   : "a0","a1","d0","d1");
  508.   *(char *)a0 = *(char *)a0;
  509.   return _res;
  510. }
  511. static __inline void 
  512. CopySBitMap (BASE_PAR_DECL struct Layer *layer)
  513. {
  514.   BASE_EXT_DECL
  515.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  516.   register struct Layer *a0 __asm("a0") = layer;
  517.   __asm __volatile ("jsr a6@(-0x1c2)"
  518.   : /* no output */
  519.   : "r" (a6), "r" (a0)
  520.   : "a0","a1","d0","d1");
  521.   *(char *)a0 = *(char *)a0;
  522. }
  523. static __inline void 
  524. DisownBlitter (BASE_PAR_DECL0)
  525. {
  526.   BASE_EXT_DECL
  527.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  528.   __asm __volatile ("jsr a6@(-0x1ce)"
  529.   : /* no output */
  530.   : "r" (a6)
  531.   : "a0","a1","d0","d1");
  532. }
  533. static __inline void 
  534. DisposeRegion (BASE_PAR_DECL struct Region *region)
  535. {
  536.   BASE_EXT_DECL
  537.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  538.   register struct Region *a0 __asm("a0") = region;
  539.   __asm __volatile ("jsr a6@(-0x216)"
  540.   : /* no output */
  541.   : "r" (a6), "r" (a0)
  542.   : "a0","a1","d0","d1");
  543.   *(char *)a0 = *(char *)a0;
  544. }
  545. static __inline void 
  546. DoCollision (BASE_PAR_DECL struct RastPort *rp)
  547. {
  548.   BASE_EXT_DECL
  549.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  550.   register struct RastPort *a1 __asm("a1") = rp;
  551.   __asm __volatile ("jsr a6@(-0x6c)"
  552.   : /* no output */
  553.   : "r" (a6), "r" (a1)
  554.   : "a0","a1","d0","d1");
  555.   *(char *)a1 = *(char *)a1;
  556. }
  557. static __inline void 
  558. Draw (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  559. {
  560.   BASE_EXT_DECL
  561.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  562.   register struct RastPort *a1 __asm("a1") = rp;
  563.   register long d0 __asm("d0") = x;
  564.   register long d1 __asm("d1") = y;
  565.   __asm __volatile ("jsr a6@(-0xf6)"
  566.   : /* no output */
  567.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  568.   : "a0","a1","d0","d1");
  569.   *(char *)a1 = *(char *)a1;
  570. }
  571. static __inline void 
  572. DrawEllipse (BASE_PAR_DECL struct RastPort *rp,long xCenter,long yCenter,long a,long b)
  573. {
  574.   BASE_EXT_DECL
  575.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  576.   register struct RastPort *a1 __asm("a1") = rp;
  577.   register long d0 __asm("d0") = xCenter;
  578.   register long d1 __asm("d1") = yCenter;
  579.   register long d2 __asm("d2") = a;
  580.   register long d3 __asm("d3") = b;
  581.   __asm __volatile ("jsr a6@(-0xb4)"
  582.   : /* no output */
  583.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  584.   : "a0","a1","d0","d1","d2","d3");
  585.   *(char *)a1 = *(char *)a1;
  586. }
  587. static __inline void 
  588. DrawGList (BASE_PAR_DECL struct RastPort *rp,struct ViewPort *vp)
  589. {
  590.   BASE_EXT_DECL
  591.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  592.   register struct RastPort *a1 __asm("a1") = rp;
  593.   register struct ViewPort *a0 __asm("a0") = vp;
  594.   __asm __volatile ("jsr a6@(-0x72)"
  595.   : /* no output */
  596.   : "r" (a6), "r" (a1), "r" (a0)
  597.   : "a0","a1","d0","d1");
  598.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  599. }
  600. static __inline void 
  601. EraseRect (BASE_PAR_DECL struct RastPort *rp,long xMin,long yMin,long xMax,long yMax)
  602. {
  603.   BASE_EXT_DECL
  604.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  605.   register struct RastPort *a1 __asm("a1") = rp;
  606.   register long d0 __asm("d0") = xMin;
  607.   register long d1 __asm("d1") = yMin;
  608.   register long d2 __asm("d2") = xMax;
  609.   register long d3 __asm("d3") = yMax;
  610.   __asm __volatile ("jsr a6@(-0x32a)"
  611.   : /* no output */
  612.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  613.   : "a0","a1","d0","d1","d2","d3");
  614.   *(char *)a1 = *(char *)a1;
  615. }
  616. static __inline ULONG 
  617. ExtendFont (BASE_PAR_DECL struct TextFont *font,struct TagItem *fontTags)
  618. {
  619.   BASE_EXT_DECL
  620.   register ULONG  _res  __asm("d0");
  621.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  622.   register struct TextFont *a0 __asm("a0") = font;
  623.   register struct TagItem *a1 __asm("a1") = fontTags;
  624.   __asm __volatile ("jsr a6@(-0x330)"
  625.   : "=r" (_res)
  626.   : "r" (a6), "r" (a0), "r" (a1)
  627.   : "a0","a1","d0","d1");
  628.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  629.   return _res;
  630. }
  631. static __inline DisplayInfoHandle 
  632. FindDisplayInfo (BASE_PAR_DECL unsigned long displayID)
  633. {
  634.   BASE_EXT_DECL
  635.   register DisplayInfoHandle  _res  __asm("d0");
  636.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  637.   register unsigned long d0 __asm("d0") = displayID;
  638.   __asm __volatile ("jsr a6@(-0x2d6)"
  639.   : "=r" (_res)
  640.   : "r" (a6), "r" (d0)
  641.   : "a0","a1","d0","d1");
  642.   return _res;
  643. }
  644. static __inline BOOL 
  645. Flood (BASE_PAR_DECL struct RastPort *rp,unsigned long mode,long x,long y)
  646. {
  647.   BASE_EXT_DECL
  648.   register BOOL  _res  __asm("d0");
  649.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  650.   register struct RastPort *a1 __asm("a1") = rp;
  651.   register unsigned long d2 __asm("d2") = mode;
  652.   register long d0 __asm("d0") = x;
  653.   register long d1 __asm("d1") = y;
  654.   __asm __volatile ("jsr a6@(-0x14a)"
  655.   : "=r" (_res)
  656.   : "r" (a6), "r" (a1), "r" (d2), "r" (d0), "r" (d1)
  657.   : "a0","a1","d0","d1","d2");
  658.   *(char *)a1 = *(char *)a1;
  659.   return _res;
  660. }
  661. static __inline void 
  662. FontExtent (BASE_PAR_DECL struct TextFont *font,struct TextExtent *fontExtent)
  663. {
  664.   BASE_EXT_DECL
  665.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  666.   register struct TextFont *a0 __asm("a0") = font;
  667.   register struct TextExtent *a1 __asm("a1") = fontExtent;
  668.   __asm __volatile ("jsr a6@(-0x2fa)"
  669.   : /* no output */
  670.   : "r" (a6), "r" (a0), "r" (a1)
  671.   : "a0","a1","d0","d1");
  672.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  673. }
  674. static __inline void 
  675. FreeColorMap (BASE_PAR_DECL struct ColorMap *colorMap)
  676. {
  677.   BASE_EXT_DECL
  678.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  679.   register struct ColorMap *a0 __asm("a0") = colorMap;
  680.   __asm __volatile ("jsr a6@(-0x240)"
  681.   : /* no output */
  682.   : "r" (a6), "r" (a0)
  683.   : "a0","a1","d0","d1");
  684.   *(char *)a0 = *(char *)a0;
  685. }
  686. static __inline void 
  687. FreeCopList (BASE_PAR_DECL struct CopList *copList)
  688. {
  689.   BASE_EXT_DECL
  690.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  691.   register struct CopList *a0 __asm("a0") = copList;
  692.   __asm __volatile ("jsr a6@(-0x222)"
  693.   : /* no output */
  694.   : "r" (a6), "r" (a0)
  695.   : "a0","a1","d0","d1");
  696.   *(char *)a0 = *(char *)a0;
  697. }
  698. static __inline void 
  699. FreeCprList (BASE_PAR_DECL struct cprlist *cprList)
  700. {
  701.   BASE_EXT_DECL
  702.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  703.   register struct cprlist *a0 __asm("a0") = cprList;
  704.   __asm __volatile ("jsr a6@(-0x234)"
  705.   : /* no output */
  706.   : "r" (a6), "r" (a0)
  707.   : "a0","a1","d0","d1");
  708.   *(char *)a0 = *(char *)a0;
  709. }
  710. static __inline void 
  711. FreeGBuffers (BASE_PAR_DECL struct AnimOb *anOb,struct RastPort *rp,long flag)
  712. {
  713.   BASE_EXT_DECL
  714.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  715.   register struct AnimOb *a0 __asm("a0") = anOb;
  716.   register struct RastPort *a1 __asm("a1") = rp;
  717.   register long d0 __asm("d0") = flag;
  718.   __asm __volatile ("jsr a6@(-0x258)"
  719.   : /* no output */
  720.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0)
  721.   : "a0","a1","d0","d1");
  722.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  723. }
  724. static __inline void 
  725. FreeRaster (BASE_PAR_DECL PLANEPTR p,unsigned long width,unsigned long height)
  726. {
  727.   BASE_EXT_DECL
  728.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  729.   register PLANEPTR a0 __asm("a0") = p;
  730.   register unsigned long d0 __asm("d0") = width;
  731.   register unsigned long d1 __asm("d1") = height;
  732.   __asm __volatile ("jsr a6@(-0x1f2)"
  733.   : /* no output */
  734.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1)
  735.   : "a0","a1","d0","d1");
  736.   *(char *)a0 = *(char *)a0;
  737. }
  738. static __inline void 
  739. FreeSprite (BASE_PAR_DECL long num)
  740. {
  741.   BASE_EXT_DECL
  742.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  743.   register long d0 __asm("d0") = num;
  744.   __asm __volatile ("jsr a6@(-0x19e)"
  745.   : /* no output */
  746.   : "r" (a6), "r" (d0)
  747.   : "a0","a1","d0","d1");
  748. }
  749. static __inline void 
  750. FreeVPortCopLists (BASE_PAR_DECL struct ViewPort *vp)
  751. {
  752.   BASE_EXT_DECL
  753.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  754.   register struct ViewPort *a0 __asm("a0") = vp;
  755.   __asm __volatile ("jsr a6@(-0x21c)"
  756.   : /* no output */
  757.   : "r" (a6), "r" (a0)
  758.   : "a0","a1","d0","d1");
  759.   *(char *)a0 = *(char *)a0;
  760. }
  761. static __inline struct ColorMap *
  762. GetColorMap (BASE_PAR_DECL long entries)
  763. {
  764.   BASE_EXT_DECL
  765.   register struct ColorMap * _res  __asm("d0");
  766.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  767.   register long d0 __asm("d0") = entries;
  768.   __asm __volatile ("jsr a6@(-0x23a)"
  769.   : "=r" (_res)
  770.   : "r" (a6), "r" (d0)
  771.   : "a0","a1","d0","d1");
  772.   return _res;
  773. }
  774. static __inline ULONG 
  775. GetDisplayInfoData (BASE_PAR_DECL DisplayInfoHandle handle,UBYTE *buf,unsigned long size,unsigned long tagID,unsigned long displayID)
  776. {
  777.   BASE_EXT_DECL
  778.   register ULONG  _res  __asm("d0");
  779.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  780.   register DisplayInfoHandle a0 __asm("a0") = handle;
  781.   register UBYTE *a1 __asm("a1") = buf;
  782.   register unsigned long d0 __asm("d0") = size;
  783.   register unsigned long d1 __asm("d1") = tagID;
  784.   register unsigned long d2 __asm("d2") = displayID;
  785.   __asm __volatile ("jsr a6@(-0x2f4)"
  786.   : "=r" (_res)
  787.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0), "r" (d1), "r" (d2)
  788.   : "a0","a1","d0","d1","d2");
  789.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  790.   return _res;
  791. }
  792. static __inline BOOL 
  793. GetGBuffers (BASE_PAR_DECL struct AnimOb *anOb,struct RastPort *rp,long flag)
  794. {
  795.   BASE_EXT_DECL
  796.   register BOOL  _res  __asm("d0");
  797.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  798.   register struct AnimOb *a0 __asm("a0") = anOb;
  799.   register struct RastPort *a1 __asm("a1") = rp;
  800.   register long d0 __asm("d0") = flag;
  801.   __asm __volatile ("jsr a6@(-0xa8)"
  802.   : "=r" (_res)
  803.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0)
  804.   : "a0","a1","d0","d1");
  805.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  806.   return _res;
  807. }
  808. static __inline ULONG 
  809. GetRGB4 (BASE_PAR_DECL struct ColorMap *colorMap,long entry)
  810. {
  811.   BASE_EXT_DECL
  812.   register ULONG  _res  __asm("d0");
  813.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  814.   register struct ColorMap *a0 __asm("a0") = colorMap;
  815.   register long d0 __asm("d0") = entry;
  816.   __asm __volatile ("jsr a6@(-0x246)"
  817.   : "=r" (_res)
  818.   : "r" (a6), "r" (a0), "r" (d0)
  819.   : "a0","a1","d0","d1");
  820.   *(char *)a0 = *(char *)a0;
  821.   return _res;
  822. }
  823. static __inline WORD 
  824. GetSprite (BASE_PAR_DECL struct SimpleSprite *sprite,long num)
  825. {
  826.   BASE_EXT_DECL
  827.   register WORD  _res  __asm("d0");
  828.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  829.   register struct SimpleSprite *a0 __asm("a0") = sprite;
  830.   register long d0 __asm("d0") = num;
  831.   __asm __volatile ("jsr a6@(-0x198)"
  832.   : "=r" (_res)
  833.   : "r" (a6), "r" (a0), "r" (d0)
  834.   : "a0","a1","d0","d1");
  835.   *(char *)a0 = *(char *)a0;
  836.   return _res;
  837. }
  838. static __inline LONG 
  839. GetVPModeID (BASE_PAR_DECL struct ViewPort *vp)
  840. {
  841.   BASE_EXT_DECL
  842.   register LONG  _res  __asm("d0");
  843.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  844.   register struct ViewPort *a0 __asm("a0") = vp;
  845.   __asm __volatile ("jsr a6@(-0x318)"
  846.   : "=r" (_res)
  847.   : "r" (a6), "r" (a0)
  848.   : "a0","a1","d0","d1");
  849.   *(char *)a0 = *(char *)a0;
  850.   return _res;
  851. }
  852. static __inline void 
  853. GfxAssociate (BASE_PAR_DECL APTR associateNode,APTR gfxNodePtr)
  854. {
  855.   BASE_EXT_DECL
  856.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  857.   register APTR a0 __asm("a0") = associateNode;
  858.   register APTR a1 __asm("a1") = gfxNodePtr;
  859.   __asm __volatile ("jsr a6@(-0x2a0)"
  860.   : /* no output */
  861.   : "r" (a6), "r" (a0), "r" (a1)
  862.   : "a0","a1","d0","d1");
  863.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  864. }
  865. static __inline void 
  866. GfxFree (BASE_PAR_DECL APTR gfxNodePtr)
  867. {
  868.   BASE_EXT_DECL
  869.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  870.   register APTR a0 __asm("a0") = gfxNodePtr;
  871.   __asm __volatile ("jsr a6@(-0x29a)"
  872.   : /* no output */
  873.   : "r" (a6), "r" (a0)
  874.   : "a0","a1","d0","d1");
  875.   *(char *)a0 = *(char *)a0;
  876. }
  877. static __inline APTR 
  878. GfxLookUp (BASE_PAR_DECL APTR associateNode)
  879. {
  880.   BASE_EXT_DECL
  881.   register APTR  _res  __asm("d0");
  882.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  883.   register APTR a0 __asm("a0") = associateNode;
  884.   __asm __volatile ("jsr a6@(-0x2be)"
  885.   : "=r" (_res)
  886.   : "r" (a6), "r" (a0)
  887.   : "a0","a1","d0","d1");
  888.   *(char *)a0 = *(char *)a0;
  889.   return _res;
  890. }
  891. static __inline APTR 
  892. GfxNew (BASE_PAR_DECL unsigned long gfxNodeType)
  893. {
  894.   BASE_EXT_DECL
  895.   register APTR  _res  __asm("d0");
  896.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  897.   register unsigned long d0 __asm("d0") = gfxNodeType;
  898.   __asm __volatile ("jsr a6@(-0x294)"
  899.   : "=r" (_res)
  900.   : "r" (a6), "r" (d0)
  901.   : "a0","a1","d0","d1");
  902.   return _res;
  903. }
  904. static __inline void 
  905. InitArea (BASE_PAR_DECL struct AreaInfo *areaInfo,APTR vectorBuffer,long maxVectors)
  906. {
  907.   BASE_EXT_DECL
  908.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  909.   register struct AreaInfo *a0 __asm("a0") = areaInfo;
  910.   register APTR a1 __asm("a1") = vectorBuffer;
  911.   register long d0 __asm("d0") = maxVectors;
  912.   __asm __volatile ("jsr a6@(-0x11a)"
  913.   : /* no output */
  914.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0)
  915.   : "a0","a1","d0","d1");
  916.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  917. }
  918. static __inline void 
  919. InitBitMap (BASE_PAR_DECL struct BitMap *bitMap,long depth,long width,long height)
  920. {
  921.   BASE_EXT_DECL
  922.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  923.   register struct BitMap *a0 __asm("a0") = bitMap;
  924.   register long d0 __asm("d0") = depth;
  925.   register long d1 __asm("d1") = width;
  926.   register long d2 __asm("d2") = height;
  927.   __asm __volatile ("jsr a6@(-0x186)"
  928.   : /* no output */
  929.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2)
  930.   : "a0","a1","d0","d1","d2");
  931.   *(char *)a0 = *(char *)a0;
  932. }
  933. static __inline void 
  934. InitGMasks (BASE_PAR_DECL struct AnimOb *anOb)
  935. {
  936.   BASE_EXT_DECL
  937.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  938.   register struct AnimOb *a0 __asm("a0") = anOb;
  939.   __asm __volatile ("jsr a6@(-0xae)"
  940.   : /* no output */
  941.   : "r" (a6), "r" (a0)
  942.   : "a0","a1","d0","d1");
  943.   *(char *)a0 = *(char *)a0;
  944. }
  945. static __inline void 
  946. InitGels (BASE_PAR_DECL struct VSprite *head,struct VSprite *tail,struct GelsInfo *gelsInfo)
  947. {
  948.   BASE_EXT_DECL
  949.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  950.   register struct VSprite *a0 __asm("a0") = head;
  951.   register struct VSprite *a1 __asm("a1") = tail;
  952.   register struct GelsInfo *a2 __asm("a2") = gelsInfo;
  953.   __asm __volatile ("jsr a6@(-0x78)"
  954.   : /* no output */
  955.   : "r" (a6), "r" (a0), "r" (a1), "r" (a2)
  956.   : "a0","a1","a2","d0","d1");
  957.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  958. }
  959. static __inline void 
  960. InitMasks (BASE_PAR_DECL struct VSprite *vSprite)
  961. {
  962.   BASE_EXT_DECL
  963.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  964.   register struct VSprite *a0 __asm("a0") = vSprite;
  965.   __asm __volatile ("jsr a6@(-0x7e)"
  966.   : /* no output */
  967.   : "r" (a6), "r" (a0)
  968.   : "a0","a1","d0","d1");
  969.   *(char *)a0 = *(char *)a0;
  970. }
  971. static __inline void 
  972. InitRastPort (BASE_PAR_DECL struct RastPort *rp)
  973. {
  974.   BASE_EXT_DECL
  975.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  976.   register struct RastPort *a1 __asm("a1") = rp;
  977.   __asm __volatile ("jsr a6@(-0xc6)"
  978.   : /* no output */
  979.   : "r" (a6), "r" (a1)
  980.   : "a0","a1","d0","d1");
  981.   *(char *)a1 = *(char *)a1;
  982. }
  983. static __inline struct TmpRas *
  984. InitTmpRas (BASE_PAR_DECL struct TmpRas *tmpRas,PLANEPTR buffer,long size)
  985. {
  986.   BASE_EXT_DECL
  987.   register struct TmpRas * _res  __asm("d0");
  988.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  989.   register struct TmpRas *a0 __asm("a0") = tmpRas;
  990.   register PLANEPTR a1 __asm("a1") = buffer;
  991.   register long d0 __asm("d0") = size;
  992.   __asm __volatile ("jsr a6@(-0x1d4)"
  993.   : "=r" (_res)
  994.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0)
  995.   : "a0","a1","d0","d1");
  996.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  997.   return _res;
  998. }
  999. static __inline void 
  1000. InitVPort (BASE_PAR_DECL struct ViewPort *vp)
  1001. {
  1002.   BASE_EXT_DECL
  1003.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1004.   register struct ViewPort *a0 __asm("a0") = vp;
  1005.   __asm __volatile ("jsr a6@(-0xcc)"
  1006.   : /* no output */
  1007.   : "r" (a6), "r" (a0)
  1008.   : "a0","a1","d0","d1");
  1009.   *(char *)a0 = *(char *)a0;
  1010. }
  1011. static __inline void 
  1012. InitView (BASE_PAR_DECL struct View *view)
  1013. {
  1014.   BASE_EXT_DECL
  1015.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1016.   register struct View *a1 __asm("a1") = view;
  1017.   __asm __volatile ("jsr a6@(-0x168)"
  1018.   : /* no output */
  1019.   : "r" (a6), "r" (a1)
  1020.   : "a0","a1","d0","d1");
  1021.   *(char *)a1 = *(char *)a1;
  1022. }
  1023. static __inline void 
  1024. LoadRGB4 (BASE_PAR_DECL struct ViewPort *vp,UWORD *colors,long count)
  1025. {
  1026.   BASE_EXT_DECL
  1027.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1028.   register struct ViewPort *a0 __asm("a0") = vp;
  1029.   register UWORD *a1 __asm("a1") = colors;
  1030.   register long d0 __asm("d0") = count;
  1031.   __asm __volatile ("jsr a6@(-0xc0)"
  1032.   : /* no output */
  1033.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0)
  1034.   : "a0","a1","d0","d1");
  1035.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1036. }
  1037. static __inline void 
  1038. LoadView (BASE_PAR_DECL struct View *view)
  1039. {
  1040.   BASE_EXT_DECL
  1041.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1042.   register struct View *a1 __asm("a1") = view;
  1043.   __asm __volatile ("jsr a6@(-0xde)"
  1044.   : /* no output */
  1045.   : "r" (a6), "r" (a1)
  1046.   : "a0","a1","d0","d1");
  1047.   *(char *)a1 = *(char *)a1;
  1048. }
  1049. static __inline void 
  1050. LockLayerRom (BASE_PAR_DECL struct Layer *layer)
  1051. {
  1052.   BASE_EXT_DECL
  1053.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1054.   register struct Layer *a5 __asm("a3") = layer;
  1055.   __asm __volatile ("movel a3,sp@-; movel a3,a5; jsr a6@(-0x1b6); movel sp@+,a5"
  1056.   : /* no output */
  1057.   : "r" (a6), "r" (a5)
  1058.   : "a0","a1","a3","d0","d1");
  1059.   *(char *)a5 = *(char *)a5;
  1060. }
  1061. static __inline void 
  1062. MakeVPort (BASE_PAR_DECL struct View *view,struct ViewPort *vp)
  1063. {
  1064.   BASE_EXT_DECL
  1065.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1066.   register struct View *a0 __asm("a0") = view;
  1067.   register struct ViewPort *a1 __asm("a1") = vp;
  1068.   __asm __volatile ("jsr a6@(-0xd8)"
  1069.   : /* no output */
  1070.   : "r" (a6), "r" (a0), "r" (a1)
  1071.   : "a0","a1","d0","d1");
  1072.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1073. }
  1074. static __inline LONG 
  1075. ModeNotAvailable (BASE_PAR_DECL unsigned long modeID)
  1076. {
  1077.   BASE_EXT_DECL
  1078.   register LONG  _res  __asm("d0");
  1079.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1080.   register unsigned long d0 __asm("d0") = modeID;
  1081.   __asm __volatile ("jsr a6@(-0x31e)"
  1082.   : "=r" (_res)
  1083.   : "r" (a6), "r" (d0)
  1084.   : "a0","a1","d0","d1");
  1085.   return _res;
  1086. }
  1087. static __inline void 
  1088. Move (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  1089. {
  1090.   BASE_EXT_DECL
  1091.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1092.   register struct RastPort *a1 __asm("a1") = rp;
  1093.   register long d0 __asm("d0") = x;
  1094.   register long d1 __asm("d1") = y;
  1095.   __asm __volatile ("jsr a6@(-0xf0)"
  1096.   : /* no output */
  1097.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  1098.   : "a0","a1","d0","d1");
  1099.   *(char *)a1 = *(char *)a1;
  1100. }
  1101. static __inline void 
  1102. MoveSprite (BASE_PAR_DECL struct ViewPort *vp,struct SimpleSprite *sprite,long x,long y)
  1103. {
  1104.   BASE_EXT_DECL
  1105.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1106.   register struct ViewPort *a0 __asm("a0") = vp;
  1107.   register struct SimpleSprite *a1 __asm("a1") = sprite;
  1108.   register long d0 __asm("d0") = x;
  1109.   register long d1 __asm("d1") = y;
  1110.   __asm __volatile ("jsr a6@(-0x1aa)"
  1111.   : /* no output */
  1112.   : "r" (a6), "r" (a0), "r" (a1), "r" (d0), "r" (d1)
  1113.   : "a0","a1","d0","d1");
  1114.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1115. }
  1116. static __inline void 
  1117. MrgCop (BASE_PAR_DECL struct View *view)
  1118. {
  1119.   BASE_EXT_DECL
  1120.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1121.   register struct View *a1 __asm("a1") = view;
  1122.   __asm __volatile ("jsr a6@(-0xd2)"
  1123.   : /* no output */
  1124.   : "r" (a6), "r" (a1)
  1125.   : "a0","a1","d0","d1");
  1126.   *(char *)a1 = *(char *)a1;
  1127. }
  1128. static __inline struct Region *
  1129. NewRegion (BASE_PAR_DECL0)
  1130. {
  1131.   BASE_EXT_DECL
  1132.   register struct Region * _res  __asm("d0");
  1133.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1134.   __asm __volatile ("jsr a6@(-0x204)"
  1135.   : "=r" (_res)
  1136.   : "r" (a6)
  1137.   : "a0","a1","d0","d1");
  1138.   return _res;
  1139. }
  1140. static __inline ULONG 
  1141. NextDisplayInfo (BASE_PAR_DECL unsigned long displayID)
  1142. {
  1143.   BASE_EXT_DECL
  1144.   register ULONG  _res  __asm("d0");
  1145.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1146.   register unsigned long d0 __asm("d0") = displayID;
  1147.   __asm __volatile ("jsr a6@(-0x2dc)"
  1148.   : "=r" (_res)
  1149.   : "r" (a6), "r" (d0)
  1150.   : "a0","a1","d0","d1");
  1151.   return _res;
  1152. }
  1153. static __inline struct TextFont *
  1154. OpenFont (BASE_PAR_DECL struct TextAttr *textAttr)
  1155. {
  1156.   BASE_EXT_DECL
  1157.   register struct TextFont * _res  __asm("d0");
  1158.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1159.   register struct TextAttr *a0 __asm("a0") = textAttr;
  1160.   __asm __volatile ("jsr a6@(-0x48)"
  1161.   : "=r" (_res)
  1162.   : "r" (a6), "r" (a0)
  1163.   : "a0","a1","d0","d1");
  1164.   *(char *)a0 = *(char *)a0;
  1165.   return _res;
  1166. }
  1167. static __inline struct MonitorSpec *
  1168. OpenMonitor (BASE_PAR_DECL STRPTR monitorName,unsigned long displayID)
  1169. {
  1170.   BASE_EXT_DECL
  1171.   register struct MonitorSpec * _res  __asm("d0");
  1172.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1173.   register STRPTR a1 __asm("a1") = monitorName;
  1174.   register unsigned long d0 __asm("d0") = displayID;
  1175.   __asm __volatile ("jsr a6@(-0x2ca)"
  1176.   : "=r" (_res)
  1177.   : "r" (a6), "r" (a1), "r" (d0)
  1178.   : "a0","a1","d0","d1");
  1179.   *(char *)a1 = *(char *)a1;
  1180.   return _res;
  1181. }
  1182. static __inline BOOL 
  1183. OrRectRegion (BASE_PAR_DECL struct Region *region,struct Rectangle *rectangle)
  1184. {
  1185.   BASE_EXT_DECL
  1186.   register BOOL  _res  __asm("d0");
  1187.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1188.   register struct Region *a0 __asm("a0") = region;
  1189.   register struct Rectangle *a1 __asm("a1") = rectangle;
  1190.   __asm __volatile ("jsr a6@(-0x1fe)"
  1191.   : "=r" (_res)
  1192.   : "r" (a6), "r" (a0), "r" (a1)
  1193.   : "a0","a1","d0","d1");
  1194.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1195.   return _res;
  1196. }
  1197. static __inline BOOL 
  1198. OrRegionRegion (BASE_PAR_DECL struct Region *srcRegion,struct Region *destRegion)
  1199. {
  1200.   BASE_EXT_DECL
  1201.   register BOOL  _res  __asm("d0");
  1202.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1203.   register struct Region *a0 __asm("a0") = srcRegion;
  1204.   register struct Region *a1 __asm("a1") = destRegion;
  1205.   __asm __volatile ("jsr a6@(-0x264)"
  1206.   : "=r" (_res)
  1207.   : "r" (a6), "r" (a0), "r" (a1)
  1208.   : "a0","a1","d0","d1");
  1209.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1210.   return _res;
  1211. }
  1212. static __inline void 
  1213. OwnBlitter (BASE_PAR_DECL0)
  1214. {
  1215.   BASE_EXT_DECL
  1216.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1217.   __asm __volatile ("jsr a6@(-0x1c8)"
  1218.   : /* no output */
  1219.   : "r" (a6)
  1220.   : "a0","a1","d0","d1");
  1221. }
  1222. static __inline void 
  1223. PolyDraw (BASE_PAR_DECL struct RastPort *rp,long count,WORD *polyTable)
  1224. {
  1225.   BASE_EXT_DECL
  1226.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1227.   register struct RastPort *a1 __asm("a1") = rp;
  1228.   register long d0 __asm("d0") = count;
  1229.   register WORD *a0 __asm("a0") = polyTable;
  1230.   __asm __volatile ("jsr a6@(-0x150)"
  1231.   : /* no output */
  1232.   : "r" (a6), "r" (a1), "r" (d0), "r" (a0)
  1233.   : "a0","a1","d0","d1");
  1234.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  1235. }
  1236. static __inline void 
  1237. QBSBlit (BASE_PAR_DECL struct bltnode *blit)
  1238. {
  1239.   BASE_EXT_DECL
  1240.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1241.   register struct bltnode *a1 __asm("a1") = blit;
  1242.   __asm __volatile ("jsr a6@(-0x126)"
  1243.   : /* no output */
  1244.   : "r" (a6), "r" (a1)
  1245.   : "a0","a1","d0","d1");
  1246.   *(char *)a1 = *(char *)a1;
  1247. }
  1248. static __inline void 
  1249. QBlit (BASE_PAR_DECL struct bltnode *blit)
  1250. {
  1251.   BASE_EXT_DECL
  1252.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1253.   register struct bltnode *a1 __asm("a1") = blit;
  1254.   __asm __volatile ("jsr a6@(-0x114)"
  1255.   : /* no output */
  1256.   : "r" (a6), "r" (a1)
  1257.   : "a0","a1","d0","d1");
  1258.   *(char *)a1 = *(char *)a1;
  1259. }
  1260. static __inline ULONG 
  1261. ReadPixel (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  1262. {
  1263.   BASE_EXT_DECL
  1264.   register ULONG  _res  __asm("d0");
  1265.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1266.   register struct RastPort *a1 __asm("a1") = rp;
  1267.   register long d0 __asm("d0") = x;
  1268.   register long d1 __asm("d1") = y;
  1269.   __asm __volatile ("jsr a6@(-0x13e)"
  1270.   : "=r" (_res)
  1271.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  1272.   : "a0","a1","d0","d1");
  1273.   *(char *)a1 = *(char *)a1;
  1274.   return _res;
  1275. }
  1276. static __inline LONG 
  1277. ReadPixelArray8 (BASE_PAR_DECL struct RastPort *rp,unsigned long xstart,unsigned long ystart,unsigned long xstop,unsigned long ystop,UBYTE *array,struct RastPort *temprp)
  1278. {
  1279.   BASE_EXT_DECL
  1280.   register LONG  _res  __asm("d0");
  1281.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1282.   register struct RastPort *a0 __asm("a0") = rp;
  1283.   register unsigned long d0 __asm("d0") = xstart;
  1284.   register unsigned long d1 __asm("d1") = ystart;
  1285.   register unsigned long d2 __asm("d2") = xstop;
  1286.   register unsigned long d3 __asm("d3") = ystop;
  1287.   register UBYTE *a2 __asm("a2") = array;
  1288.   register struct RastPort *a1 __asm("a1") = temprp;
  1289.   __asm __volatile ("jsr a6@(-0x30c)"
  1290.   : "=r" (_res)
  1291.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (a2), "r" (a1)
  1292.   : "a0","a1","a2","d0","d1","d2","d3");
  1293.   *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;  *(char *)a1 = *(char *)a1;
  1294.   return _res;
  1295. }
  1296. static __inline LONG 
  1297. ReadPixelLine8 (BASE_PAR_DECL struct RastPort *rp,unsigned long xstart,unsigned long ystart,unsigned long width,UBYTE *array,struct RastPort *tempRP)
  1298. {
  1299.   BASE_EXT_DECL
  1300.   register LONG  _res  __asm("d0");
  1301.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1302.   register struct RastPort *a0 __asm("a0") = rp;
  1303.   register unsigned long d0 __asm("d0") = xstart;
  1304.   register unsigned long d1 __asm("d1") = ystart;
  1305.   register unsigned long d2 __asm("d2") = width;
  1306.   register UBYTE *a2 __asm("a2") = array;
  1307.   register struct RastPort *a1 __asm("a1") = tempRP;
  1308.   __asm __volatile ("jsr a6@(-0x300)"
  1309.   : "=r" (_res)
  1310.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (a2), "r" (a1)
  1311.   : "a0","a1","a2","d0","d1","d2");
  1312.   *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;  *(char *)a1 = *(char *)a1;
  1313.   return _res;
  1314. }
  1315. static __inline void 
  1316. RectFill (BASE_PAR_DECL struct RastPort *rp,long xMin,long yMin,long xMax,long yMax)
  1317. {
  1318.   BASE_EXT_DECL
  1319.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1320.   register struct RastPort *a1 __asm("a1") = rp;
  1321.   register long d0 __asm("d0") = xMin;
  1322.   register long d1 __asm("d1") = yMin;
  1323.   register long d2 __asm("d2") = xMax;
  1324.   register long d3 __asm("d3") = yMax;
  1325.   __asm __volatile ("jsr a6@(-0x132)"
  1326.   : /* no output */
  1327.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  1328.   : "a0","a1","d0","d1","d2","d3");
  1329.   *(char *)a1 = *(char *)a1;
  1330. }
  1331. static __inline void 
  1332. RemFont (BASE_PAR_DECL struct TextFont *textFont)
  1333. {
  1334.   BASE_EXT_DECL
  1335.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1336.   register struct TextFont *a1 __asm("a1") = textFont;
  1337.   __asm __volatile ("jsr a6@(-0x1e6)"
  1338.   : /* no output */
  1339.   : "r" (a6), "r" (a1)
  1340.   : "a0","a1","d0","d1");
  1341.   *(char *)a1 = *(char *)a1;
  1342. }
  1343. static __inline void 
  1344. RemIBob (BASE_PAR_DECL struct Bob *bob,struct RastPort *rp,struct ViewPort *vp)
  1345. {
  1346.   BASE_EXT_DECL
  1347.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1348.   register struct Bob *a0 __asm("a0") = bob;
  1349.   register struct RastPort *a1 __asm("a1") = rp;
  1350.   register struct ViewPort *a2 __asm("a2") = vp;
  1351.   __asm __volatile ("jsr a6@(-0x84)"
  1352.   : /* no output */
  1353.   : "r" (a6), "r" (a0), "r" (a1), "r" (a2)
  1354.   : "a0","a1","a2","d0","d1");
  1355.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  1356. }
  1357. static __inline void 
  1358. RemVSprite (BASE_PAR_DECL struct VSprite *vSprite)
  1359. {
  1360.   BASE_EXT_DECL
  1361.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1362.   register struct VSprite *a0 __asm("a0") = vSprite;
  1363.   __asm __volatile ("jsr a6@(-0x8a)"
  1364.   : /* no output */
  1365.   : "r" (a6), "r" (a0)
  1366.   : "a0","a1","d0","d1");
  1367.   *(char *)a0 = *(char *)a0;
  1368. }
  1369. static __inline UWORD 
  1370. ScalerDiv (BASE_PAR_DECL unsigned long factor,unsigned long numerator,unsigned long denominator)
  1371. {
  1372.   BASE_EXT_DECL
  1373.   register UWORD  _res  __asm("d0");
  1374.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1375.   register unsigned long d0 __asm("d0") = factor;
  1376.   register unsigned long d1 __asm("d1") = numerator;
  1377.   register unsigned long d2 __asm("d2") = denominator;
  1378.   __asm __volatile ("jsr a6@(-0x2ac)"
  1379.   : "=r" (_res)
  1380.   : "r" (a6), "r" (d0), "r" (d1), "r" (d2)
  1381.   : "a0","a1","d0","d1","d2");
  1382.   return _res;
  1383. }
  1384. static __inline void 
  1385. ScrollRaster (BASE_PAR_DECL struct RastPort *rp,long dx,long dy,long xMin,long yMin,long xMax,long yMax)
  1386. {
  1387.   BASE_EXT_DECL
  1388.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1389.   register struct RastPort *a1 __asm("a1") = rp;
  1390.   register long d0 __asm("d0") = dx;
  1391.   register long d1 __asm("d1") = dy;
  1392.   register long d2 __asm("d2") = xMin;
  1393.   register long d3 __asm("d3") = yMin;
  1394.   register long d4 __asm("d4") = xMax;
  1395.   register long d5 __asm("d5") = yMax;
  1396.   __asm __volatile ("jsr a6@(-0x18c)"
  1397.   : /* no output */
  1398.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4), "r" (d5)
  1399.   : "a0","a1","d0","d1","d2","d3","d4","d5");
  1400.   *(char *)a1 = *(char *)a1;
  1401. }
  1402. static __inline void 
  1403. ScrollVPort (BASE_PAR_DECL struct ViewPort *vp)
  1404. {
  1405.   BASE_EXT_DECL
  1406.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1407.   register struct ViewPort *a0 __asm("a0") = vp;
  1408.   __asm __volatile ("jsr a6@(-0x24c)"
  1409.   : /* no output */
  1410.   : "r" (a6), "r" (a0)
  1411.   : "a0","a1","d0","d1");
  1412.   *(char *)a0 = *(char *)a0;
  1413. }
  1414. static __inline void 
  1415. SetAPen (BASE_PAR_DECL struct RastPort *rp,unsigned long pen)
  1416. {
  1417.   BASE_EXT_DECL
  1418.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1419.   register struct RastPort *a1 __asm("a1") = rp;
  1420.   register unsigned long d0 __asm("d0") = pen;
  1421.   __asm __volatile ("jsr a6@(-0x156)"
  1422.   : /* no output */
  1423.   : "r" (a6), "r" (a1), "r" (d0)
  1424.   : "a0","a1","d0","d1");
  1425.   *(char *)a1 = *(char *)a1;
  1426. }
  1427. static __inline void 
  1428. SetBPen (BASE_PAR_DECL struct RastPort *rp,unsigned long pen)
  1429. {
  1430.   BASE_EXT_DECL
  1431.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1432.   register struct RastPort *a1 __asm("a1") = rp;
  1433.   register unsigned long d0 __asm("d0") = pen;
  1434.   __asm __volatile ("jsr a6@(-0x15c)"
  1435.   : /* no output */
  1436.   : "r" (a6), "r" (a1), "r" (d0)
  1437.   : "a0","a1","d0","d1");
  1438.   *(char *)a1 = *(char *)a1;
  1439. }
  1440. static __inline void 
  1441. SetCollision (BASE_PAR_DECL unsigned long num,void (*routine)(),struct GelsInfo *gelsInfo)
  1442. {
  1443.   BASE_EXT_DECL
  1444.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1445.   register unsigned long d0 __asm("d0") = num;
  1446.   register void (*a0)() __asm("a0") = routine;
  1447.   register struct GelsInfo *a1 __asm("a1") = gelsInfo;
  1448.   __asm __volatile ("jsr a6@(-0x96)"
  1449.   : /* no output */
  1450.   : "r" (a6), "r" (d0), "r" (a0), "r" (a1)
  1451.   : "a0","a1","d0","d1");
  1452.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1453. }
  1454. static __inline void 
  1455. SetDrMd (BASE_PAR_DECL struct RastPort *rp,unsigned long drawMode)
  1456. {
  1457.   BASE_EXT_DECL
  1458.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1459.   register struct RastPort *a1 __asm("a1") = rp;
  1460.   register unsigned long d0 __asm("d0") = drawMode;
  1461.   __asm __volatile ("jsr a6@(-0x162)"
  1462.   : /* no output */
  1463.   : "r" (a6), "r" (a1), "r" (d0)
  1464.   : "a0","a1","d0","d1");
  1465.   *(char *)a1 = *(char *)a1;
  1466. }
  1467. static __inline LONG 
  1468. SetFont (BASE_PAR_DECL struct RastPort *rp,struct TextFont *textFont)
  1469. {
  1470.   BASE_EXT_DECL
  1471.   register LONG  _res  __asm("d0");
  1472.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1473.   register struct RastPort *a1 __asm("a1") = rp;
  1474.   register struct TextFont *a0 __asm("a0") = textFont;
  1475.   __asm __volatile ("jsr a6@(-0x42)"
  1476.   : "=r" (_res)
  1477.   : "r" (a6), "r" (a1), "r" (a0)
  1478.   : "a0","a1","d0","d1");
  1479.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  1480.   return _res;
  1481. }
  1482. static __inline void 
  1483. SetRGB4 (BASE_PAR_DECL struct ViewPort *vp,long index,unsigned long red,unsigned long green,unsigned long blue)
  1484. {
  1485.   BASE_EXT_DECL
  1486.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1487.   register struct ViewPort *a0 __asm("a0") = vp;
  1488.   register long d0 __asm("d0") = index;
  1489.   register unsigned long d1 __asm("d1") = red;
  1490.   register unsigned long d2 __asm("d2") = green;
  1491.   register unsigned long d3 __asm("d3") = blue;
  1492.   __asm __volatile ("jsr a6@(-0x120)"
  1493.   : /* no output */
  1494.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  1495.   : "a0","a1","d0","d1","d2","d3");
  1496.   *(char *)a0 = *(char *)a0;
  1497. }
  1498. static __inline void 
  1499. SetRGB4CM (BASE_PAR_DECL struct ColorMap *colorMap,long index,unsigned long red,unsigned long green,unsigned long blue)
  1500. {
  1501.   BASE_EXT_DECL
  1502.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1503.   register struct ColorMap *a0 __asm("a0") = colorMap;
  1504.   register long d0 __asm("d0") = index;
  1505.   register unsigned long d1 __asm("d1") = red;
  1506.   register unsigned long d2 __asm("d2") = green;
  1507.   register unsigned long d3 __asm("d3") = blue;
  1508.   __asm __volatile ("jsr a6@(-0x276)"
  1509.   : /* no output */
  1510.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3)
  1511.   : "a0","a1","d0","d1","d2","d3");
  1512.   *(char *)a0 = *(char *)a0;
  1513. }
  1514. static __inline void 
  1515. SetRast (BASE_PAR_DECL struct RastPort *rp,unsigned long pen)
  1516. {
  1517.   BASE_EXT_DECL
  1518.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1519.   register struct RastPort *a1 __asm("a1") = rp;
  1520.   register unsigned long d0 __asm("d0") = pen;
  1521.   __asm __volatile ("jsr a6@(-0xea)"
  1522.   : /* no output */
  1523.   : "r" (a6), "r" (a1), "r" (d0)
  1524.   : "a0","a1","d0","d1");
  1525.   *(char *)a1 = *(char *)a1;
  1526. }
  1527. static __inline ULONG 
  1528. SetSoftStyle (BASE_PAR_DECL struct RastPort *rp,unsigned long style,unsigned long enable)
  1529. {
  1530.   BASE_EXT_DECL
  1531.   register ULONG  _res  __asm("d0");
  1532.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1533.   register struct RastPort *a1 __asm("a1") = rp;
  1534.   register unsigned long d0 __asm("d0") = style;
  1535.   register unsigned long d1 __asm("d1") = enable;
  1536.   __asm __volatile ("jsr a6@(-0x5a)"
  1537.   : "=r" (_res)
  1538.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  1539.   : "a0","a1","d0","d1");
  1540.   *(char *)a1 = *(char *)a1;
  1541.   return _res;
  1542. }
  1543. static __inline void 
  1544. SortGList (BASE_PAR_DECL struct RastPort *rp)
  1545. {
  1546.   BASE_EXT_DECL
  1547.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1548.   register struct RastPort *a1 __asm("a1") = rp;
  1549.   __asm __volatile ("jsr a6@(-0x96)"
  1550.   : /* no output */
  1551.   : "r" (a6), "r" (a1)
  1552.   : "a0","a1","d0","d1");
  1553.   *(char *)a1 = *(char *)a1;
  1554. }
  1555. static __inline void 
  1556. StripFont (BASE_PAR_DECL struct TextFont *font)
  1557. {
  1558.   BASE_EXT_DECL
  1559.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1560.   register struct TextFont *a0 __asm("a0") = font;
  1561.   __asm __volatile ("jsr a6@(-0x336)"
  1562.   : /* no output */
  1563.   : "r" (a6), "r" (a0)
  1564.   : "a0","a1","d0","d1");
  1565.   *(char *)a0 = *(char *)a0;
  1566. }
  1567. static __inline void 
  1568. SyncSBitMap (BASE_PAR_DECL struct Layer *layer)
  1569. {
  1570.   BASE_EXT_DECL
  1571.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1572.   register struct Layer *a0 __asm("a0") = layer;
  1573.   __asm __volatile ("jsr a6@(-0x1bc)"
  1574.   : /* no output */
  1575.   : "r" (a6), "r" (a0)
  1576.   : "a0","a1","d0","d1");
  1577.   *(char *)a0 = *(char *)a0;
  1578. }
  1579. static __inline LONG 
  1580. Text (BASE_PAR_DECL struct RastPort *rp,STRPTR string,unsigned long count)
  1581. {
  1582.   BASE_EXT_DECL
  1583.   register LONG  _res  __asm("d0");
  1584.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1585.   register struct RastPort *a1 __asm("a1") = rp;
  1586.   register STRPTR a0 __asm("a0") = string;
  1587.   register unsigned long d0 __asm("d0") = count;
  1588.   __asm __volatile ("jsr a6@(-0x3c)"
  1589.   : "=r" (_res)
  1590.   : "r" (a6), "r" (a1), "r" (a0), "r" (d0)
  1591.   : "a0","a1","d0","d1");
  1592.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  1593.   return _res;
  1594. }
  1595. static __inline WORD 
  1596. TextExtent (BASE_PAR_DECL struct RastPort *rp,STRPTR string,long count,struct TextExtent *textExtent)
  1597. {
  1598.   BASE_EXT_DECL
  1599.   register WORD  _res  __asm("d0");
  1600.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1601.   register struct RastPort *a1 __asm("a1") = rp;
  1602.   register STRPTR a0 __asm("a0") = string;
  1603.   register long d0 __asm("d0") = count;
  1604.   register struct TextExtent *a2 __asm("a2") = textExtent;
  1605.   __asm __volatile ("jsr a6@(-0x2b2)"
  1606.   : "=r" (_res)
  1607.   : "r" (a6), "r" (a1), "r" (a0), "r" (d0), "r" (a2)
  1608.   : "a0","a1","a2","d0","d1");
  1609.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;
  1610.   return _res;
  1611. }
  1612. static __inline ULONG 
  1613. TextFit (BASE_PAR_DECL struct RastPort *rp,STRPTR string,unsigned long strLen,struct TextExtent *textExtent,struct TextExtent *constrainingExtent,long strDirection,unsigned long constrainingBitWidth,unsigned long constrainingBitHeight)
  1614. {
  1615.   BASE_EXT_DECL
  1616.   register ULONG  _res  __asm("d0");
  1617.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1618.   register struct RastPort *a1 __asm("a1") = rp;
  1619.   register STRPTR a0 __asm("a0") = string;
  1620.   register unsigned long d0 __asm("d0") = strLen;
  1621.   register struct TextExtent *a2 __asm("a2") = textExtent;
  1622.   register struct TextExtent *a3 __asm("a3") = constrainingExtent;
  1623.   register long d1 __asm("d1") = strDirection;
  1624.   register unsigned long d2 __asm("d2") = constrainingBitWidth;
  1625.   register unsigned long d3 __asm("d3") = constrainingBitHeight;
  1626.   __asm __volatile ("jsr a6@(-0x2b8)"
  1627.   : "=r" (_res)
  1628.   : "r" (a6), "r" (a1), "r" (a0), "r" (d0), "r" (a2), "r" (a3), "r" (d1), "r" (d2), "r" (d3)
  1629.   : "a0","a1","a2","a3","d0","d1","d2","d3");
  1630.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;  *(char *)a3 = *(char *)a3;
  1631.   return _res;
  1632. }
  1633. static __inline WORD 
  1634. TextLength (BASE_PAR_DECL struct RastPort *rp,STRPTR string,unsigned long count)
  1635. {
  1636.   BASE_EXT_DECL
  1637.   register WORD  _res  __asm("d0");
  1638.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1639.   register struct RastPort *a1 __asm("a1") = rp;
  1640.   register STRPTR a0 __asm("a0") = string;
  1641.   register unsigned long d0 __asm("d0") = count;
  1642.   __asm __volatile ("jsr a6@(-0x36)"
  1643.   : "=r" (_res)
  1644.   : "r" (a6), "r" (a1), "r" (a0), "r" (d0)
  1645.   : "a0","a1","d0","d1");
  1646.   *(char *)a1 = *(char *)a1;  *(char *)a0 = *(char *)a0;
  1647.   return _res;
  1648. }
  1649. static __inline struct CopList *
  1650. UCopperListInit (BASE_PAR_DECL struct UCopList *uCopList,long n)
  1651. {
  1652.   BASE_EXT_DECL
  1653.   register struct CopList * _res  __asm("d0");
  1654.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1655.   register struct UCopList *a0 __asm("a0") = uCopList;
  1656.   register long d0 __asm("d0") = n;
  1657.   __asm __volatile ("jsr a6@(-0x252)"
  1658.   : "=r" (_res)
  1659.   : "r" (a6), "r" (a0), "r" (d0)
  1660.   : "a0","a1","d0","d1");
  1661.   *(char *)a0 = *(char *)a0;
  1662.   return _res;
  1663. }
  1664. static __inline void 
  1665. UnlockLayerRom (BASE_PAR_DECL struct Layer *layer)
  1666. {
  1667.   BASE_EXT_DECL
  1668.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1669.   register struct Layer *a5 __asm("a3") = layer;
  1670.   __asm __volatile ("movel a5,sp@-; movel a3,a5; jsr a6@(-0x1bc); movel sp@+,a5"
  1671.   : /* no output */
  1672.   : "r" (a6), "r" (a5)
  1673.   : "a0","a1","a3","d0","d1");
  1674.   *(char *)a5 = *(char *)a5;
  1675. }
  1676. static __inline LONG 
  1677. VBeamPos (BASE_PAR_DECL0)
  1678. {
  1679.   BASE_EXT_DECL
  1680.   register LONG  _res  __asm("d0");
  1681.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1682.   __asm __volatile ("jsr a6@(-0x180)"
  1683.   : "=r" (_res)
  1684.   : "r" (a6)
  1685.   : "a0","a1","d0","d1");
  1686.   return _res;
  1687. }
  1688. static __inline BOOL 
  1689. VideoControl (BASE_PAR_DECL struct ColorMap *colorMap,struct TagItem *tagarray)
  1690. {
  1691.   BASE_EXT_DECL
  1692.   register BOOL  _res  __asm("d0");
  1693.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1694.   register struct ColorMap *a0 __asm("a0") = colorMap;
  1695.   register struct TagItem *a1 __asm("a1") = tagarray;
  1696.   __asm __volatile ("jsr a6@(-0x2c4)"
  1697.   : "=r" (_res)
  1698.   : "r" (a6), "r" (a0), "r" (a1)
  1699.   : "a0","a1","d0","d1");
  1700.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1701.   return _res;
  1702. }
  1703. static __inline void 
  1704. WaitBOVP (BASE_PAR_DECL struct ViewPort *vp)
  1705. {
  1706.   BASE_EXT_DECL
  1707.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1708.   register struct ViewPort *a0 __asm("a0") = vp;
  1709.   __asm __volatile ("jsr a6@(-0x192)"
  1710.   : /* no output */
  1711.   : "r" (a6), "r" (a0)
  1712.   : "a0","a1","d0","d1");
  1713.   *(char *)a0 = *(char *)a0;
  1714. }
  1715. static __inline void 
  1716. WaitBlit (BASE_PAR_DECL0)
  1717. {
  1718.   BASE_EXT_DECL
  1719.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1720.   __asm __volatile ("jsr a6@(-0xe4)"
  1721.   : /* no output */
  1722.   : "r" (a6)
  1723.   : "a0","a1","d0","d1");
  1724. }
  1725. static __inline void 
  1726. WaitTOF (BASE_PAR_DECL0)
  1727. {
  1728.   BASE_EXT_DECL
  1729.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1730.   __asm __volatile ("jsr a6@(-0x10e)"
  1731.   : /* no output */
  1732.   : "r" (a6)
  1733.   : "a0","a1","d0","d1");
  1734. }
  1735. static __inline WORD 
  1736. WeighTAMatch (BASE_PAR_DECL struct TextAttr *reqTextAttr,struct TextAttr *targetTextAttr,struct TagItem *targetTags)
  1737. {
  1738.   BASE_EXT_DECL
  1739.   register WORD  _res  __asm("d0");
  1740.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1741.   register struct TextAttr *a0 __asm("a0") = reqTextAttr;
  1742.   register struct TextAttr *a1 __asm("a1") = targetTextAttr;
  1743.   register struct TagItem *a2 __asm("a2") = targetTags;
  1744.   __asm __volatile ("jsr a6@(-0x324)"
  1745.   : "=r" (_res)
  1746.   : "r" (a6), "r" (a0), "r" (a1), "r" (a2)
  1747.   : "a0","a1","a2","d0","d1");
  1748.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;  *(char *)a2 = *(char *)a2;
  1749.   return _res;
  1750. }
  1751. static __inline LONG 
  1752. WritePixel (BASE_PAR_DECL struct RastPort *rp,long x,long y)
  1753. {
  1754.   BASE_EXT_DECL
  1755.   register LONG  _res  __asm("d0");
  1756.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1757.   register struct RastPort *a1 __asm("a1") = rp;
  1758.   register long d0 __asm("d0") = x;
  1759.   register long d1 __asm("d1") = y;
  1760.   __asm __volatile ("jsr a6@(-0x144)"
  1761.   : "=r" (_res)
  1762.   : "r" (a6), "r" (a1), "r" (d0), "r" (d1)
  1763.   : "a0","a1","d0","d1");
  1764.   *(char *)a1 = *(char *)a1;
  1765.   return _res;
  1766. }
  1767. static __inline LONG 
  1768. WritePixelArray8 (BASE_PAR_DECL struct RastPort *rp,unsigned long xstart,unsigned long ystart,unsigned long xstop,unsigned long ystop,UBYTE *array,struct RastPort *temprp)
  1769. {
  1770.   BASE_EXT_DECL
  1771.   register LONG  _res  __asm("d0");
  1772.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1773.   register struct RastPort *a0 __asm("a0") = rp;
  1774.   register unsigned long d0 __asm("d0") = xstart;
  1775.   register unsigned long d1 __asm("d1") = ystart;
  1776.   register unsigned long d2 __asm("d2") = xstop;
  1777.   register unsigned long d3 __asm("d3") = ystop;
  1778.   register UBYTE *a2 __asm("a2") = array;
  1779.   register struct RastPort *a1 __asm("a1") = temprp;
  1780.   __asm __volatile ("jsr a6@(-0x312)"
  1781.   : "=r" (_res)
  1782.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (a2), "r" (a1)
  1783.   : "a0","a1","a2","d0","d1","d2","d3");
  1784.   *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;  *(char *)a1 = *(char *)a1;
  1785.   return _res;
  1786. }
  1787. static __inline LONG 
  1788. WritePixelLine8 (BASE_PAR_DECL struct RastPort *rp,unsigned long xstart,unsigned long ystart,unsigned long width,UBYTE *array,struct RastPort *tempRP)
  1789. {
  1790.   BASE_EXT_DECL
  1791.   register LONG  _res  __asm("d0");
  1792.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1793.   register struct RastPort *a0 __asm("a0") = rp;
  1794.   register unsigned long d0 __asm("d0") = xstart;
  1795.   register unsigned long d1 __asm("d1") = ystart;
  1796.   register unsigned long d2 __asm("d2") = width;
  1797.   register UBYTE *a2 __asm("a2") = array;
  1798.   register struct RastPort *a1 __asm("a1") = tempRP;
  1799.   __asm __volatile ("jsr a6@(-0x306)"
  1800.   : "=r" (_res)
  1801.   : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (a2), "r" (a1)
  1802.   : "a0","a1","a2","d0","d1","d2");
  1803.   *(char *)a0 = *(char *)a0;  *(char *)a2 = *(char *)a2;  *(char *)a1 = *(char *)a1;
  1804.   return _res;
  1805. }
  1806. static __inline BOOL 
  1807. XorRectRegion (BASE_PAR_DECL struct Region *region,struct Rectangle *rectangle)
  1808. {
  1809.   BASE_EXT_DECL
  1810.   register BOOL  _res  __asm("d0");
  1811.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1812.   register struct Region *a0 __asm("a0") = region;
  1813.   register struct Rectangle *a1 __asm("a1") = rectangle;
  1814.   __asm __volatile ("jsr a6@(-0x22e)"
  1815.   : "=r" (_res)
  1816.   : "r" (a6), "r" (a0), "r" (a1)
  1817.   : "a0","a1","d0","d1");
  1818.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1819.   return _res;
  1820. }
  1821. static __inline BOOL 
  1822. XorRegionRegion (BASE_PAR_DECL struct Region *srcRegion,struct Region *destRegion)
  1823. {
  1824.   BASE_EXT_DECL
  1825.   register BOOL  _res  __asm("d0");
  1826.   register struct GfxBase* a6 __asm("a6") = BASE_NAME;
  1827.   register struct Region *a0 __asm("a0") = srcRegion;
  1828.   register struct Region *a1 __asm("a1") = destRegion;
  1829.   __asm __volatile ("jsr a6@(-0x26a)"
  1830.   : "=r" (_res)
  1831.   : "r" (a6), "r" (a0), "r" (a1)
  1832.   : "a0","a1","d0","d1");
  1833.   *(char *)a0 = *(char *)a0;  *(char *)a1 = *(char *)a1;
  1834.   return _res;
  1835. }
  1836. #undef BASE_EXT_DECL
  1837. #undef BASE_PAR_DECL
  1838. #undef BASE_PAR_DECL0
  1839. #undef BASE_NAME
  1840.  
  1841. __END_DECLS
  1842.  
  1843. #endif /* _INLINE_GRAPHICS_H */
  1844.